package com.yanzhen.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Dept implements Serializable {
    private Integer id;
    private Integer parentId;//部门id
    private String name;
    private Integer type; //类型。0：公司；1：部门；2：科室/小组
    private Integer sort; //排序值。越小越靠前
    private Integer status;//状态。0：正常；1：禁用
    private Integer createBy;//创建人id
    private Date updateTime;//修改时间
    private Date createTime;//创建时间
}
